import Vue from 'vue';
// import 'ares-ui/lib/style/style.css';
import '@/styles/reset.css';
// import '@/styles/global.css';
// import Ares from 'ares-ui';
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
// import AresUiExtend from '@/ares-ui-extend';
import api from '@/api/api';
import filter from '@/utils/filter';
import directive from '@/utils/directive';
import ctpRouter from '@/ares-ui-extend/CtpRouter';
import App from './App';
import router from './router';
import store from './store';
Vue.use(directive);
Vue.use(filter);


// 一些各个页面都会用到的建议在此处加载
// Vue.use(Ares);
// Vue.use(AresUiExtend);
Vue.use(ElementUI);

Vue.use(ctpRouter, router,store);

Vue.prototype.$bus = new Vue();

Vue.prototype.$api = api;

Vue.config.productionTip = false;

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  template: '<App/>',
  components: { App },
});
